package com.hjl.service.impl;

import com.hjl.mapper.EmpMapper;
import com.hjl.pojo.Emp;
import com.hjl.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ServivE
 * @version 0.1
 * @className EmpServiceImpl
 * @description
 * @date 2024/8/20 17:10
 * @since jdk17
 */
@Service
public class EmpServiceImpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;
    @Override
    public List<Emp> queryAll() {
        List<Emp> list = empMapper.queryAll();
        return list;
    }
}
